/**
 * Copyright (c) 2011 eelpo.com
 * All rights reserved.
 */
package com.eelpo.cmmp.uac.wicket.mount;

import com.eelpo.cmmp.core.wicket.application.mount.IWebApplicationMount;
import com.eelpo.cmmp.uac.pages.home.Login;
import com.eelpo.cmmp.uac.pages.home.Main;

import org.apache.wicket.protocol.http.WebApplication;
import org.springframework.stereotype.Component;

/**
 * <pre>
 * 权限模块Wicket页面映射配置
 * </pre>
 * 
 * @author <a href="mailto:Brian@eelpo.com">汪洪州</a>
 * @since 1.0
 */
@Component
public class UACMountConfiguration implements IWebApplicationMount {

	/**
	 * (non-Javadoc)
	 * 
	 * @see com.eelpo.cmmp.core.wicket.application.mount.IWebApplicationMount#mount(org.apache.wicket.protocol.http.WebApplication)
	 */
	@Override
	public void mount(WebApplication webApplication) {
		webApplication.mountBookmarkablePage("/login.jsp", Login.class);
		webApplication.mountBookmarkablePage("/home.jsp", Main.class);
	}

}
